#include <stdio.h>
#include <unistd.h>
#include <pthread.h>

void *pthread_fun(void *arg)
{
    printf("pthread_run\n");
    pthread_exit(0);
}
int main()
{
    pthread_t tid;
    pthread_create(&tid, NULL, pthread_fun, NULL);
    pthread_join(tid, NULL); 
    printf("pthread_fun stop\n");
    return 0;
}